MIMEconvert was written to help me deal with processing web-based form data sent via e-mail.
As you may know, the files get sent with certain special characters hex encoded. As well some MIME encoding takes place frequently meaning that spaces will be represented as a "+" and fields or form elements will be separated with an "&".
It makes using email forms on a web site a bit of a pain in the butt.
or even nicer as a single line of tab delineated text without the final, useless, submit field such as:
Zac Belado zac@pixelgeek.com Isabella's Christmas Tree
Which is why I wrote MIMEconvert.
What does it do?
MIMEconvert will:
remove MIME "mail" characters; the "+" and "&" symbols
convert hex encoded characters
save converted text to new files
append converted text to existing files
remove Submit, Reset or any other tag you specify
convert to tab delineated or any other form of single character delineation
What it doesn't do.
MIMEconvert does not convert any other sort of MIME encoded files. It will not convert anything other than text files.
How does it do it?
MIMEconvert will process files that you either open using the File: Open (Cmd-O) command or by simply dragging the files to the main window's text field.
Depending on what your settings are MIMEconvert will either simply convert the hex encoded characters in the data or it will also (if you have not turned it off) convert the "mail" characters "+" and "&" to a space and a carriage return respectively.
You can also reconvert the data (File: Reprocess Text or Cmd-R) if you need to.
The Settings palette lets you select what types of tags you want to remove from the data; Submit, Reset or a custom tag. Again, you can reconvert the data to remove specific tags sequentially if need be. So, using the data above, you could choose to remove the "Field4" tag and the data that accompanied it.
If you want to convert the data to a line of delineated text for output to a DB or spreadsheet simply select Process Text from the File menu (File: Process Text) and MIMEconvert will strip out the field names, add a delimiter and then redisplay the text.
Finally, you can save the data to a new text file (File:Save or Cmd-S) or append it to an existing file by selecting Append to text file from the File menu (File:Append to text file). If you have already used the Append command then you can continue to append new text to the same file by using the Append to same file (Cmd-G) command.
What's it cost?
Nothing. MIMEconvert is free. Gratis. Nil.
And you can register it for free as well. To be a registered user and notified of all updates simply send your name and email address to me (zac@pixelgeek.com) and when I get another version out I'll tell you about it.
As well, if you like the program and have any suggestions for improvements, bugs or comments then I would greatly appreciate hearing about them...hell even if you don't like the program really.
Version History
1.07
Added drag and drop to text window
Added Append to Same File command
Added spiffy icons
1.06
Fixed background colour problem on settings window
Fixed nilobject error in Append Dialog
1.05
Totally rewrote the app. Started the version history from scratch. This is the first public version.
Feel free to post this app to any other FTP site or archive as long as no fee is charged for the application and that this read-me file included with the application.
This application may be included on an non-profit CD with the permission of the creator (thats me). Inclusion on any CD-ROM that is for sale and not freely distributed is prohibited unless the agreement of the author (again, thats me) is received beforehand (this doesn't include those nifty-keen freebie CDs that come with magazines).